/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.bomt.service;


import com.comac.ins.bomt.domain.vo.CodeNameItem;

import java.util.List;
import java.util.Map;

/**
 * 部段服务
 *
 * @author zhanghongyi
 * @date 2024 /8/27
 * @description SectionService
 */
public interface SectionService {
    /**
     * 获取部段分组信息（分组->部段）.
     *
     * @param aircraftModel the aircraft model
     * @return the section group config
     */
    Map<String, List<String>> getSectionGroupConfig(String aircraftModel,String track);

    void upsertSectionGroupConfig(String aircraftModel,String track,List<CodeNameItem> sectionCodeNames);
    /**
     * 获取逆部段分组信息（部段->分组）.
     *
     * @param aircraftModel the aircraft model
     * @param track 批次号
     * @return the reverse section group config
     */
    Map<String, String> getReverseSectionGroupConfig(String aircraftModel,String track);
}
